@echo off
echo NWN1RCEI Example - Capture the Pig!

echo Starting the NWN1RCEI Environment...

call NWN1Setup.bat
start /min C:"NWNX2.exe" -module "RCEI Example - Capture the Pig!" -publicserver 0 -pauseandplay 0 -pvp 2 -servervault 1 -elc 1 -oneparty 0 -servername "RCEI" -reloadwhenempty 0 -dmpassword "RCEI"
start C:"NWN.exe"

echo Starting RCEI Example - Capture the Pig!...

cd /d %~dp0
call Setup.bat
set CLASSPATH=%CLASSPATH%;rcei-examples.jar
java es.ucm.disia.rcei.example.capture.Capture